Representing Piecewise Functions in Mathematica ©

نویسنده

  • Prakash P. Shenoy
چکیده

There are many ways of representing piecewise functions inMathematica c . We study three different methods. One is by using the function Piecewise. Another is by using a difference of two HeavisideTheta functions for each piece. And a third way is by using product to two HeavisideTheta functions for each piece. If efficiency in integration is a criterion, which of these is the best way to do so? Another issue is the limits one should use for integration. Assuming one wishes to integrate over the entire domain, is it better to use (−∞,∞) as the limits or is it better to use more specific limits such as (−3, 3) if the piecewise functions are non-zero over (−3, 3)? We examine the answers to these questions by doing some experiments and speculate on the reasons for the results.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Algorithms for Symbolic Linear Convolution

This paper describes algorithms to perform linear convolution of both piecewise continuous functions and discrete functions symbolically. The algorithms manipulate the piecewise representation of the functions to produce a piecewise representation of the result. In our piecewise representation, the end points of and the function de ned over each interval may be symbolic expressions. We have enc...

متن کامل

HYBRID FUNCTIONS APPROACH AND PIECEWISE CONSTANT FUNCTION BY COLLOCATION METHOD FOR THE NONLINEAR VOLTERRA-FREDHOLM INTEGRAL EQUATIONS

In this work, we will compare two approximation method based on hybrid Legendre andBlock-Pulse functions and a computational method for solving nonlinear Fredholm-Volterraintegral equations of the second kind which is based on replacement of the unknown functionby truncated series of well known Block-Pulse functions (BPfs) expansion

متن کامل

Piecewise cubic interpolation of fuzzy data based on B-spline basis functions

In this paper fuzzy piecewise cubic interpolation is constructed for fuzzy data based on B-spline basis functions. We add two new additional conditions which guarantee uniqueness of fuzzy B-spline interpolation.Other conditions are imposed on the interpolation data to guarantee that the interpolation function to be a well-defined fuzzy function. Finally some examples are given to illustrate the...

متن کامل

gH-differentiable of the 2th-order functions interpolating

Fuzzy Hermite interpolation of 5th degree generalizes Lagrange interpolation by fitting a polynomial to a function f that not only interpolates f at each knot but also interpolates two number of consecutive Generalized Hukuhara derivatives of f at each knot. The provided solution for the 5th degree fuzzy Hermite interpolation problem in this paper is based on cardinal basis functions linear com...

متن کامل

On numerical approximation using differential equations with piecewise-constant arguments

In this paper we give a brief overview of the application of delay differential equations with piecewise constant arguments (EPCAs) for obtaining numerical approximation of delay differential equations, and we show that this method can be used for numerical approximation in a class of age-dependent population models. We also formulate an open problem for a qualitative behaviour of a class of li...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011